home *** CD-ROM | disk | FTP | other *** search
- // Borland C++ Builder
- // Copyright (c) 1995, 1998 by Borland International
- // All rights reserved
-
- // (DO NOT EDIT: machine generated header) 'SlokUtil.pas' rev: 3.00
-
- #ifndef SlokUtilHPP
- #define SlokUtilHPP
- #include <Classes.hpp>
- #include <SysInit.hpp>
- #include <System.hpp>
-
- //-- user supplied -----------------------------------------------------------
-
- namespace Slokutil
- {
- //-- type declarations -------------------------------------------------------
- typedef Byte TBuffer[256];
-
- //-- var, const, procedure ---------------------------------------------------
- #define BUFFERLENGTH (Word)(256)
- #define UNLOCK_LENGTH (Byte)(10)
- extern PACKAGE void __fastcall EncryptBuffer(System::AnsiString Key, Byte * Buffer);
- extern PACKAGE void __fastcall DecryptBuffer(System::AnsiString Key, Byte * Buffer);
- extern PACKAGE System::AnsiString __fastcall GetChallenge(System::AnsiString InputString, int Extensions
- );
- extern PACKAGE System::AnsiString __fastcall GetUnlockString(System::AnsiString ChallengeString, System::AnsiString
- PrivateKey, int Extension);
-
- } /* namespace Slokutil */
- #if !defined(NO_IMPLICIT_NAMESPACE_USE)
- using namespace Slokutil;
- #endif
- //-- end unit ----------------------------------------------------------------
- #endif // SlokUtil
-